
/**
 * 表单
 * ---------------------------------------------------
 * 修正样式，使 picker 组件与其他组件保持风格一致
 */
.sea-picker{
	height: 35px;
	color: $uni-text-color;
	font-size: $sea-font-size;
	display: flex;
	flex-wrap: nowrap;
	flex-direction: row;
	align-items: center;
}


/**
 * 表单
 * ---------------------------------------------------
 * 图片选择器
 */
.sea-image-picker {
	gap: 12rpx;
	display: flex;
	flex-wrap: wrap;
	
	.picker-item {
		width: 30%;
		display: flex;
		position: relative; /* 父容器设为相对定位 */
		aspect-ratio: 1 / 1;
		// background: lightgray;
		align-items: center;
		justify-content: center;
		border: 1rpx solid lightgray;
		
		.image {
			width: 100%;
			height: 100%;
			object-fit: cover;
		}
		
		.remove{
			  position: absolute; /* 绝对定位脱离文档流 */
			  top: 10rpx;
			  right: 10rpx;
			  background-color: gray;
			  border-radius: 50%;
				  
			  display: flex;
			  align-items: center;
			  justify-content: center;
		}
	}
}





/**
 * 顶部导航栏
 * ----------------------------------------- 
 */
.header {
	top: 0;
	z-index: 100;
	display: flex;
	position: sticky;
	align-items: center;
	justify-content: space-between;
	padding: 20rpx 30rpx;
	background-color: #ffffff;
	border-bottom: 1rpx solid #e5e5e5;
}

.header-left {
	width: 60rpx;
	height: 60rpx;
	display: flex;
	align-items: center;
	justify-content: center;
}

.header-title {
	flex: 1;
	text-align: center;
	font-size: 36rpx;
	font-weight: 500;
	color: #333333;
}

.header-right {
	width: 100rpx;
	display: flex;
	align-items: center;
	justify-content: center;
}	
	
/**
 * others
 * ---------------------------------------------------
 * 以下代码没什么标准，是为了完成单一业务设计的
 */	
.logo {
	height: 200rpx;
	width: 200rpx;
	margin-top: 200rpx;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 50rpx;
}

.text-area {
	display: flex;
	justify-content: center;
}

.title {
	font-size: 36rpx;
	color: #8f8f94;
}


/* 表单项 */
.form-item {
	padding: 30rpx;
	border-bottom: 1rpx solid #f0f0f0;
	min-height: 50rpx;
}

.form-item.disabled {
	background-color: #f5f5f5;
	opacity: 0.6;
}

.form-item.disabled .form-label {
	color: #999999;
}

.form-item.disabled .form-input {
	color: #999999;
	background-color: transparent;
}

.form-row {
	display: flex;
	align-items: flex-start;
}

.form-item:last-child {
	border-bottom: none;
}

.form-label {
	font-size: 32rpx;
	color: #333333;
	font-weight: 500;
	width: 200rpx;
	flex-shrink: 0;
	padding-top: 8rpx;
}

.form-label.required::after {
	content: '*';
	color: #ff4d4f;
	margin-left: 4rpx;
}

.form-input {
	flex: 1;
	font-size: 32rpx;
	color: #333333;
	text-align: right;
	padding: 0;
	border: none;
	background: transparent;
}

.form-input:disabled {
	color: #999999;
	background-color: #f5f5f5;
}

.form-input::placeholder {
	color: #999999;
}

.form-textarea {
	flex: 1;
	font-size: 32rpx;
	color: #333333;
	text-align: left;
	//padding: 20rpx;
	border: none;
	border-radius: 8rpx;
	background: #ffffff;
	min-height: 120rpx;
	height: 120rpx;
	resize: none;
	line-height: 1.5;
	margin-top: 10rpx;
}

.error-message {
	width: 100%;
	margin-top: 10rpx;
	padding-left: 0;
}

.error-message .error-text {
	font-size: 28rpx;
	color: #ff4d4f;
}